package zongbao.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import zongbao.domain.Adim;
import zongbao.domain.Book;
import zongbao.mapper.AdimMapper;
import zongbao.mapper.BookMapper;
import zongbao.service.AdimService;

@Service
public class AdimServiceImpl implements AdimService {
    @Autowired
    private AdimMapper adimMapper;
    @Override
    public Adim findAdimById(Integer id) {
        return adimMapper.findAdimById(id);
    }

    @Override
    public Adim login(Adim adim) {
        return adimMapper.login(adim);
    }

    @Override
    public int updatepwd(Adim adim) {
        return adimMapper.updatepwd(adim);
    }

    @Override
    public Adim zhaohui(Adim adim) {
        return adimMapper.zhaohui(adim);
    }

    @Override
    public void addadim(Adim adim) {
        adimMapper.addadim(adim);
    }
}
